package com.example.es02.dao;

import com.example.es02.DO.SnnDist;
import com.example.es02.DO.SnnDistExample;
import com.example.es02.bean.Dist;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SnnDistMapper {
    int countByExample(SnnDistExample example);

    int deleteByExample(SnnDistExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SnnDist record);

    int insertSelective(SnnDist record);

    List<SnnDist> selectByExample(SnnDistExample example);

    SnnDist selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SnnDist record, @Param("example") SnnDistExample example);

    int updateByExample(@Param("record") SnnDist record, @Param("example") SnnDistExample example);

    int updateByPrimaryKeySelective(SnnDist record);

    int updateByPrimaryKey(SnnDist record);

    List<Object> selectAllMap();
}